import request from '@/utils/request'
// 获取考勤列表
export function getAttendancesList(params) {
  return request({
    url: 'http://localhost:8989/api/v1/attendancerecord/list',
    params: params,
  })
}

//修改考勤状态
export function updateAttendanceStatus(data) {
  return request({
    url: 'http://localhost:8989/api/v1/attendancerecord/updateStatus',
    method: 'post',
    data: data
  })
}

export function exportAttendanceSetting() {
  return request({
    url:"attendancerecord/_export",
    responseType:'blob'
  })
}
